home *** CD-ROM | disk | FTP | other *** search
/ MacGames Sampler / PHT MacGames Bundle.iso / MacSource Folder / Samples from the CD / Editors / emacs / Emacs-1.14b1-sources / sources / utility-src / echo.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-30  |  526 b   |  26 lines  |  [TEXT/EMAC]

  1. /*
  2.  * Copyright (C) 1993, 1994 Marc Parmet.
  3.  * This file is part of the Macintosh port of GNU Emacs.
  4.  *
  5.  * GNU Emacs is distributed in the hope that it will be useful,
  6.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  7.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  8.  * GNU General Public License for more details.
  9.  */
  10.  
  11. #include "stdio.h"
  12.  
  13. int
  14. main(int argc,char **argv)
  15. {
  16.     int k;
  17.     
  18.     for (k = 1; k<argc; ++k) {
  19.         if (k > 1) printf(" ");
  20.         printf("%s",argv[k]);
  21.     }
  22.     
  23.     printf("\n");
  24.     return 0;
  25. }
  26.